package com.lyf.learn.atsgg.spring.ioc.autowire;

import org.springframework.stereotype.Component;

/**
 * @AUTHOR LYF
 * @DATE 2022/5/26
 * @VERSION 1.0
 * @DESC
 */
@Component
public class AutowireBean {
    private String name;
    private String value;

    public AutowireBean() {
    }

    // 必须注明，无参构造函数，否则--
    public AutowireBean(String name, String value) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
